package com.qf.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.qf.smartdevice.dot.UserDto;
import com.qf.smartdevice.pojo.SysUserInfo;

/**
 * @author 王博康
 * @version 1.0
 * @project devicemanagementsystem
 * @description: TODO
 * @date 2022/3/14 21:48 星期一
 */
public interface SysUserInfoService {

    SysUserInfo findById(Long userId);

    PageInfo<SysUserInfo> findAll(int pageSize, int pageNum);

    void addUserInfo(SysUserInfo sysUserInfo);

    SysUserInfo findByUsername(String username);

    SysUserInfo findByPhone(String phone);

    SysUserInfo findByEmail(String email);

    SysUserInfo login(UserDto userDto);


}
